﻿<Page x:Class="MzkSignature.Demo.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:MzkSignature.Demo"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:mzk="using:Mazik.WinRT.Components.Controls"
      x:Name="pageRoot"
      mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <mzk:MzkSignature FileName="sign"
                          Title="Customer Signature"
                          ImageSource="{Binding ElementName=pageRoot,Path=Image,Mode=TwoWay}"
                          Foreground="White"
                          HorizontalAlignment="Stretch"
                          VerticalAlignment="Center" />
        <Button Click="Button_Click"
                HorizontalAlignment="Center"
                VerticalAlignment="Center"
                Content="lets seee"
                Grid.Row="1" />
    </Grid>
</Page>
